import request from '@/http/request'

// 示例：获取用户信息
export const fetchBookType = async (param = {}) => {
  try {
    const response = await request<any>({
      url: '/bookTypes/list',
      method: 'GET',
      data: param
    })

    return response
  } catch (error) {
    console.error('获取用户信息失败:', error)
  }
}
